
public class zhengchu5 {

	public static void main(String[] args) {
		int shu =1;
		int geshu=0;
		while(shu<=10000){
			if(shu%5==0){
				System.out.print(shu+"\t");
				geshu++;
				if(geshu%20==0){
					System.out.print("\n");
				}
			}
			
			shu++;	
			}	
	}

}